home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-11-15 | 1.8 KB | 52 lines | [TEXT/MPS ] |
- #
- # mark young • 08/30/94
- #
-
- # To build this example, choose the "Build…" menu item from within
- # the "Build" menu in MPW. When asked for Program Name, type in the
- # script name, in this case "myCompareProc" ( without double quotes )
- # and press the Enter key. Be sure that the Current Working Directory
- # for MPW is set to the directory containing this example.
-
- # To build the Debugger version of this example, choose the "Build…"
- # menu item from within the "Build" menu in MPW. When asked for Program
- # Name, type in the script name, in this case "myCompareProc.debug" ( without
- # double quotes ) and press the Enter key. Be sure that the Current
- # Working Directory for MPW is set to the directory containing this example.
-
- scriptName = myCompareProc
- debugScriptName = {scriptName}.debug
-
- sourceFile = GetFileVersion
-
- OBJECTS = GetFileVersion.c.o
- ScriptCheckDir = :::ScriptCheck 4.0.3:
- InstallerRIncDir = :::DeveloperInterfaces:RIncludes:
- InstallerCIncDir = :::DeveloperInterfaces:CIncludes:
- InstallerDebuggerDir = :::Installer Debugger 4.0:
-
- COptions = -b -r -sym on
- LinkOptions = -mf -sym on
-
-
- "{debugScriptName}" ƒ "{scriptName}"
- Duplicate -y "{scriptName}" "{scriptName} w/ Debugger"
- Rez -m "{InstallerDebuggerDir}Installer Debugger.r" -append -o "{scriptName} w/ Debugger"
-
- "{scriptName}" ƒƒ "{sourceFile}" "{scriptName}.r"
- set theTime "'`date -d -s` 12:00:00 PM'"
- Rez "{scriptName}.r" -o "{scriptName}" -t 'kajr' -c 'kajr' -i "{InstallerRIncDir}"
- SetFile -a b -d {theTime} "{scriptName}"
- "{ScriptCheckDir}ScriptCheck" "{scriptName}" -h -d -a
- SetFile -m {theTime} "{scriptName}"
-
-
- "{sourceFile}" ƒƒ Makefile "{OBJECTS}"
- Link {LinkOptions} -t rsrc -c RSED -rt infn=128 -m "{sourceFile}" -sg "{sourceFile}" ∂
- "{OBJECTS}" ∂
- -o "{sourceFile}"
-
- "{sourceFile}.c.o" ƒ Makefile "{sourceFile}.c"
- C {COptions} "{sourceFile}.c" -i "{InstallerCIncDir}"
-
-